home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000347_lars_news@larsshack.org_Sun Oct 26 16:05:31 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  7KB

  1. Path: newsmaster.cc.columbia.edu!newsfeed.nyu.edu!newsfeed.berkeley.edu!ucberkeley!newstransit.mitre.org!news.tufts.edu!logbridge.uoregon.edu!feed2.news.rcn.net!rcn!feed3.news.rcn.net!not-for-mail
  2. From: Lars Kellogg-Stedman <lars_news@larsshack.org>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: relocation error
  5. Date: 26 Oct 2003 14:58:08 GMT
  6. Lines: 155
  7. Message-ID: <slrnbpno7s.b28.lars@news.oddbit.com>
  8. References: <So93b.5637$d66.110222@news2.tin.it>
  9. Reply-To: lars_news@larsshack.org
  10. X-Trace: UmFuZG9tSVb+VKUUsqFxg4fxXdxGSn9yhIBXoP1lh3aBq5r4xoTKwPD4XNXCDXWN
  11. X-Complaints-To: abuse@rcn.com
  12. NNTP-Posting-Date: 26 Oct 2003 14:58:08 GMT
  13. User-Agent:  slrn/0.9.7.4 (Linux)
  14. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14600
  15.  
  16. You installed the binary RPM from the Rawhide/"Fedora" distribution, didn't
  17. you?  That wasn't built for a RedHat 9 system, so there are some library
  18. compatability issues.
  19.  
  20. The easiest solution is to grab the source rpm and rebuild the binary RPM
  21. on your system.  Normally, you'd simply grab the source rpm and run:
  22.  
  23.   rpmbuild --rebuild ckermit-8.0.209-4.src.rpm
  24.  
  25. But the spec file has errors under Redhat 9, so you'll need to run
  26. through a few extra steps:
  27.  
  28.   1. grab the source rpm
  29.   2. run 'rpm -ivh ckermit-8.0.209-4.src.rpm'.  This will install files in
  30.      /usr/src/redhat by default.
  31.   3. replace /usr/src/redhat/SPECS/ckermit.spec with the spec file I've
  32.      attached to this message.
  33.   4. run 'rpmbuild -bb /usr/src/redhat/SPECS/ckermit.spec'.  This will
  34.      generate a binary RPM in /usr/src/redhat/RPMS/i386.
  35.  
  36. You will probably need to run the above commands as root.  See below for
  37. the spec file.
  38.  
  39. -- Lars
  40.  
  41. > I have on my PC redhat 9 and I just installed "ckermit-8.0.209-4" with the
  42. > objective to get files saved on my office server from home.
  43. > The ckermit installation seems to be ok, but as I try to send some files I
  44. > receive the following answer from the server:
  45. > kermit: relocation error: kermit: undefined symbol: krb5_cc_get_name
  46. > what I have to do? can you help me to find a solution or to find a URL where
  47. > to get it?
  48.  
  49. -- 
  50. Lars Kellogg-Stedman <lars_news@larsshack.org>
  51.  
  52. ---[ cut here ]------------------------------------------------------------
  53. Summary: The quintessential all-purpose communications program
  54. Name: ckermit
  55. Version: 8.0.209
  56. Release: 4.lks.1
  57. License: Special (see Copyright Notice)
  58. Group: Applications/Communications
  59. Source0: ftp://kermit.columbia.edu/kermit/archives/cku209.tar.gz
  60. Source1: cku-%{name}.local.ini
  61. Source2: cku-%{name}.modem.generic.ini
  62. Source3: cku-%{name}.locale.ini
  63. Source4: cku-%{name}.phone
  64. # XXX Swipe files from cku206, remove when added to cku208 tarball.
  65. Source10: ckermit.ini
  66. Source11: ckuker.nr
  67. URL: http://www.columbia.edu/kermit/
  68. BuildRequires: pam-devel
  69. BuildRequires: pkgconfig
  70. BuildRequires: openssl-devel >= 0.9.7
  71. BuildRequires: gmp-devel >= 3.1.1
  72. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  73. Obsoletes: gkermit
  74.  
  75. %description
  76. C-Kermit is a combined serial and network communication software
  77. package offering a consistent, medium-independent, cross-platform
  78. approach to connection establishment, terminal sessions, file transfer
  79. and management, character-set translation, and automation of
  80. communication tasks. For more information please see:
  81.  
  82. http://www.columbia.edu/kermit/
  83.  
  84. C-KERMIT 7.0 COPYRIGHT NOTICE:
  85.  
  86. The C-Kermit license does not fall into any convenient category. It is
  87. not commercial, not shareware, not freeware, not GPL. The terms can be
  88. summarized as follows:
  89.  
  90. 1. You may download C-Kermit without license or fee for your own use
  91. or internal use within your company or institution.
  92.  
  93. 2. You may install C-Kermit without license or fee as a service or
  94. application on a computer within your company that is accessed by
  95. customers or clients. This provision would apply, for example, to an
  96. ISP or a medical claims clearinghouse.
  97.  
  98. 3. You may include C-Kermit with a "Free UNIX" or other Open Source
  99. operating-system distribution such as GNU/Linux, FreeBSD, NetBSD,
  100. OpenBSD, etc.
  101.  
  102. 4. Except as in (3), you may not sell or otherwise furnish C-Kermit as
  103. a software product, or a component of any product, to actual or
  104. potential customers or clients without a commercial license; to see
  105. the commercial license terms, see http://www.columbia.edu/kermit/.
  106.  
  107. In addition, we request that those who make more than casual use of
  108. C-Kermit purchase the published manual, Using C-Kermit. This helps
  109. them to get the most out of the software, it reduces the load on our
  110. help desk, and it helps to fund the Kermit Project.
  111.  
  112. The Kermit Project must fund itself entirely out of income, which
  113. comes from software licenses, book sales, and support contracts. The
  114. C-Kermit licensing terms are designed to be as generous and fair as
  115. possible within this framework. Simply stated: if you just want to use
  116. it, be our guest. If you want us to help you use it, please consult
  117. the manual first. If you want to make a product or commodity of it,
  118. you have to pay for it.
  119.  
  120. %prep
  121. %setup -q -c
  122.  
  123. # XXX Swipe files from cku206, remove when added to cku208 tarball.
  124. cp %{SOURCE10} .
  125. cp %{SOURCE11} .
  126.  
  127. %build
  128. %{__make} redhat80 \
  129.     KFLAGS="-O0 $RPM_OPT_FLAGS -DOPENSSL_097 -Dsdata=s_data" \
  130.     K4LIB="-L/usr/kerberos/lib" \
  131.     K4INC= \
  132.     K5LIB="-L/usr/kerberos/lib" \
  133.     K5INC="-I%{_includedir}/et -I/usr/kerberos/include"\
  134.     SSLLIB= \
  135.     SSLINC= \
  136.     %{?_smp_mflags}
  137.  
  138. %install
  139. rm -rf $RPM_BUILD_ROOT
  140. install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/kermit}
  141.  
  142. perl -pi -e "s|%{_prefix}/local/bin/kermit|%{_bindir}/kermit|g" ckermit.ini
  143.  
  144. install wermit $RPM_BUILD_ROOT%{_bindir}/kermit
  145. install ckuker.nr $RPM_BUILD_ROOT%{_mandir}/man1/kermit.1
  146. install ckermit.ini $RPM_BUILD_ROOT%{_sysconfdir}/kermit/
  147. install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.local.ini
  148. install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.modem.ini
  149. install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.locale.ini
  150. install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.phone
  151.  
  152. gzip -9nf *.txt COPYING.TXT
  153.  
  154. %clean
  155. rm -rf $RPM_BUILD_ROOT
  156.  
  157. %files
  158. %defattr(-,root,root)
  159. %doc *.gz
  160. %dir %{_sysconfdir}/kermit
  161. %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/kermit/*
  162. %attr(755, root, root) %{_bindir}/kermit
  163. %{_mandir}/man1/kermit.1*
  164.  
  165. %changelog
  166. * Sat Oct 25 2003 Lars Kellogg-Stedman <lars_news at larsshack dot org> 8.0.209-4.lks.1
  167. - fixed spec file to build on RedHat 9.
  168.  
  169.